#ifndef CONNECTIONFACTORY_H
#define CONNECTIONFACTORY_H

#include <QObject>
#include "api/peer_connection_interface.h"

class ConnectionFactory : public QObject
{
    Q_OBJECT
public:
    static void unInit();
    static rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> get();

private:
    static rtc::scoped_refptr<webrtc::PeerConnectionFactoryInterface> m_factory;
};

#endif // CONNECTIONFACTORY_H
